package models

import (
	"gitee.com/cjf8134/bbs_serve/internal/pkg/utils/constutil"
)

type Tag struct {
	Model
	Name      string     `db:"name" json:"name"`
	TotalNum  int        `db:"total_num" json:"total_num"`
}

func (Tag) TableName() string {
	return constutil.TablePrefix + "tag"
}
